package base;

public class BASIC2 {
	public static void main(String[] args) {
		for(int i = 0; i < 32; i++) {
			String str = Integer.toBinaryString(i);
			while(str.length()<5) {
				str = "0"+str;
			}
			System.out.println(str);
		}
	}
}
